package cn.touna.jss.common.properties.disconf;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import org.springframework.stereotype.Component;

/**
 * 车行易
 */
@Component
@DisconfFile(targetDirPath = "disconf", filename = "chexingyi.properties")
public class CheXingYiProperties {

	private String server;
	private String method;
	private String userid;
	private String userpwd;

	@DisconfFileItem(name = "chexingyi.server", associateField = "server")
	public String getServer() {
		return server;
	}

    public void setServer(String server){
    	this.server = server;
    }

	@DisconfFileItem(name = "chexingyi.method", associateField = "method")
	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	@DisconfFileItem(name = "chexingyi.userid", associateField = "userid")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	@DisconfFileItem(name = "chexingyi.userpwd", associateField = "userpwd")
	public String getUserpwd() {
		return userpwd;
	}

	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}

}
